package com.prs.crm.service.oa;

import java.io.File;
import java.util.Collection;
import java.util.Date;

import org.jfree.data.general.AbstractDataset;

import com.prs.crm.domain.flow.WorkFlowProcessNode;
import com.prs.crm.domain.hr.Person;
import com.prs.crm.domain.oa.Apply;
import com.prs.crm.service.FlowService;

public interface ApplyService extends FlowService<Apply>{
	public void saveApply(Apply apply,File file,String fileName,String copyToPersons);
	public Collection<Apply> getAllApply();
	Collection<Apply> getApplyByIds(Integer[] ids);
	public AbstractDataset fillDataset(Collection<?> dataList, int GraphicsType);
	Collection<Apply> getValidCritiqueApply(Person person);
	Collection<?> getReportApplySource(Integer state, String level, Date datestart, Date dateend, Collection<Person> persons);
	Collection<WorkFlowProcessNode> getHistoryFlowNode(Apply apply);
	Collection<Apply> getExistAuditInfoByPerson(Person person);
}
